/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mldn.demo.object;

/**
 *
 * @author Administrator
 */
public class ObjectDemo01 {
    public static void main(String[] args) {
        Demo d = new Demo();
        System.out.println("不加tostring（）输出"+d);
        System.out.println("加上tostring（）输出"+d.toString());
    }
}

class Demo{
    
}